<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@ page import="com.fit.user.dao.*"  %>
<%@page import="com.fit.user.entity.*"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.fit.user.entity.*"%>
<%@ page import="com.fit.user.util.*"%>
<%

  String contextPath=request.getContextPath();
  
  	//根据警号得到该警员的权限
	  String policeID = (String)session.getAttribute("policeID");
  PoliceMsgDAO policeMsgDAO = new PoliceMsgDAO();
 
  	String photoAddr = policeMsgDAO.getPoliceMsg(policeID).getPhotoAddr();
   %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  
    
    <title>My JSP 'm_left_top.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style>
body{
	font:12px Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #EEF2FB;
	margin: 0px;
}
#container {
	width: 260px;
}
H1 {
	font-size: 12px;
	margin: 0px;
	width: 260px;
	cursor: pointer;
	height: 30px;
	line-height: 20px;	
}
H1 a{
	display: block;
	width: 260px;
	color: #000;
	height: 30px;
	text-decoration: none;
	moz-outline-style: none;
	background-image: url(../img/skin/menu_bgs.gif);

/*	background-repeat: no-repeat;*/
	line-height: 30px;
	text-align: center;
	margin: 0px;
	padding: 0px;
}
.content{
	width: 260px;
	height: 26px;
	
}
.MM ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	display: block;
}
.MM li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	list-style-type: none;
	display: block;
	text-decoration: none;
	height: 26px;
	width: 260px;
	padding-left: 0px;
}
.MM {
	width: 260px;
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	clip: rect(0px,0px,0px,0px);
}
.MM a:link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url(../img/skin/menu_bg1.gif);
	/*background-repeat: no-repeat;*/
	height: 26px;
	width: 260px;
	display: block;
	text-align: center;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	text-decoration: none;
}
.MM a:visited {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url(../img/skin/menu_bg1.gif);
	/*background-repeat: no-repeat;*/
	display: block;
	text-align: center;
	margin: 0px;
	padding: 0px;
	height: 26px;
	width: 260px;
	text-decoration: none;
}
.MM a:active {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url(../img/skin/menu_bg1.gif);
	/*background-repeat: no-repeat;*/
	height: 26px;
	width: 260px;
	display: block;
	text-align: center;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	text-decoration: none;
}
.MM a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	font-weight: bold;
	color: #006600;
	background-image: url(../img/skin/menu_bg2.gif);
	
	text-align: center;
	display: block;
	margin: 0px;

	padding: 0px;
	height: 26px;
	width: 260px;
	text-decoration: none;
}
</style>
  </head>
  
  <body>
  <table width="100%" height="280" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF2FB">
  
   <tr>
<td height="260" width="270" >
<div style="display:none;" id="sp">
<table cellpadding="0" cellspacing="0" width="100%" height="100%" bgcolor="#c0c0c0">
<tr>
<td align="center">
<!-- ---- -->
<TABLE  width='100%' height="260" border=0 align=center cellPadding=0 cellSpacing=0>
<TR><TD height=8>
<IMG height=8 src="<%=contextPath%>/img/bg_0ltop.gif" width=8></TD>
<TD background="<%=contextPath%>/img/bg_01.gif" height=8></TD>
<TD height=8><IMG height=8 src="<%=contextPath%>/img/bg_0rtop.gif" width=8></TD></TR><TR>
<TD width=8 background="<%=contextPath%>/img/bg_03.gif"></TD>
<TD align=center   height="260"><img alt="touxiang" src="<%=contextPath%>/img/sp.jpg" height="260" width="260"></TD>
<TD width=8 background="<%=contextPath%>/img/bg_04.gif">
</TD>
</TR><TR><TD height=8><IMG height=8 src="<%=contextPath%>/img/bg_0lbottom.gif" width=8></TD>
<TD background="<%=contextPath%>/img/bg_02.gif" height=8></TD>
<TD height=8><IMG height=8 src="<%=contextPath%>/img/bg_0rbottom.gif" width=8></TD>
</TR>
</TABLE>
  <!-- ---- -->
</td></tr>
</table>
</div>
<div style="display: block" id="zp">
<table  width='260' height="260" border=0 cellspacing=0 cellpadding=0><tr><td valign="top">
<!-- ---- -->
<TABLE  width='100%' height="260" border=0 align=center cellPadding=0 cellSpacing=0>
<TR><TD height=8>
<IMG height=8 src="<%=contextPath%>/img/bg_0ltop.gif" width=8></TD>
<TD background="<%=contextPath%>/img/bg_01.gif" height=8></TD>
<TD height=8><IMG height=8 src="<%=contextPath%>/img/bg_0rtop.gif" width=8></TD></TR><TR>
<TD width=8 background="<%=contextPath%>/img/bg_03.gif"></TD>
<TD align=center valign="top"><img alt="touxiang" src="<%=contextPath%>/uppolice/<%=photoAddr %>" height="260" width="260"></TD>
<TD width=8 background="<%=contextPath%>/img/bg_04.gif">
</TD>
</TR><TR><TD height=8><IMG height=8 src="<%=contextPath%>/img/bg_0lbottom.gif" width=8></TD>
<TD background="<%=contextPath%>/img/bg_02.gif" height=8></TD>
<TD height=8><IMG height=8 src="<%=contextPath%>/img/bg_0rbottom.gif" width=8></TD>
</TR>
</TABLE>
  <!-- ---- -->
   </td></tr></TABLE>
</div>
</td>
</tr>
</table>
  </body>

</html>
